/**
 * 
 */
package com.swe727.spring2011.constraint1.server;

import java.rmi.Remote;
import java.rmi.RemoteException;

import com.swe727.spring2011.constraint1.observation.Observation;

/**
 * The RMI stub to implement which will create observations
 * @author Trevor Wright
 *
 */
public interface SaveObservationRemote extends Remote {

	/**
	 * Save the given observation.
	 * @param obs observation to save
	 * @throws RemoteException if an error over RMI occurs
	 */
	public void saveObservation(Observation obs) throws RemoteException;
	public void logMemoryFootprintOfServer() throws RemoteException;
	
}
